﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SearchResults.aspx.cs" Inherits="SearchResults" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table cellpadding="5" cellspacing="0" width="100%">
      <tr><td bgcolor="#EBE7E7">Search Results</td></tr>
    </table>
    <table id="Table1" cellpadding="0" cellspacing="0" width="100%">
                <tr style="color: #000000">
                    <td>
                        <asp:GridView ID="gvResults" runat="server" CellPadding="4" ForeColor="#333333"
                            GridLines="None" Width="100%" AllowSorting="False" AutoGenerateColumns=false>
                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <Columns>
                                <asp:HyperLinkField DataNavigateUrlFields="instancename" DataNavigateUrlFormatString="~/InstanceDetail.aspx?InstanceName={0}"
                                    DataTextField="instancename" HeaderText="instance" NavigateUrl="~/InstanceDetail.aspx">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:HyperLinkField>
                                <asp:HyperLinkField DataNavigateUrlFields="instancename,databasename" DataNavigateUrlFormatString="~/DatabaseDetail.aspx?InstanceName={0}&amp;DatabaseName={1}"
                                    DataTextField="databasename" HeaderText="database">
                                    <ItemStyle HorizontalAlign="Left" />
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:HyperLinkField>
                            </Columns>
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <EditRowStyle BackColor="#999999" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#003366" Font-Bold="True" Font-Size="X-Small" ForeColor="White"
                                HorizontalAlign="Left" />
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                    </td>
                </tr>            
            </td>
        </tr>
    </table>
</asp:Content>